package com.leo.erp.service;

import java.math.BigDecimal;

import com.leo.erp.dto.DepotHeadExecution;

public interface DepotHeadService {
	
	/**
	 * 查询单位的累计应收和累计应付,零售不能计入
	 * @param supplierId
	 * @param endTime
	 * @param supType
	 * @return
	 */
	DepotHeadExecution findTotalPay(int supplierId, String endTime, String supType);
	
	DepotHeadExecution list(String type, String subType, String number, String beginTime, String endTime,
            String materialParam, String depotIds, int offset, int rows);
	
	BigDecimal getBuyAndSaleStatistics(String type, String subType, int hasSupplier, String beginTime, String endTime);
	
	BigDecimal getBuyAndSaleRetailStatistics(String type, String subType, int hasSupplier, String beginTime, String endTime);
}
